package ui;
import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.JFrame;
import javax.swing.JOptionPane;

public class AboutAction extends AbstractAction {

	private JFrame mainInterface;

	public AboutAction(JFrame mainInterface, String texte){
		super(texte);		
		this.mainInterface = mainInterface;
	}
	
	public void actionPerformed(ActionEvent e) { 
		JOptionPane.showMessageDialog(mainInterface, "This software has been developped by a UTC's group of students");
	}

}
